package be.vdab.entities;

import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


@Entity
@Table(name="klassikalecursussen")
public class KlassikaleCursus extends Cursus {
	@Temporal(TemporalType.DATE)
	private Date van;
	@Temporal(TemporalType.DATE)
	private Date tot;
	
	protected KlassikaleCursus(){		
	}
	public void setDateVan(Date van){
		this.van = van;
	}
	public void setDateTot(Date tot){
		this.tot = tot;
	}
	public Date getDateVan(){
		return van;
	}
	public Date getDateTot(){
		return tot;
	}
}
